<template>
  <div class='classfiy-box'>
    <el-menu class='el-menu-vertical-demo' :unique-opened='true'>
      <el-submenu v-for='item in dataList' :index='item.id' :key='item.id'>
        <template slot='title'>
          <span>{{item.title}}</span>
        </template>
        <el-menu-item-group>
          <el-menu-item v-for='child in item.list' :key='child.id'>{{child.goodsName}}</el-menu-item>
        </el-menu-item-group>
      </el-submenu>
    </el-menu>
  </div>
</template>
<style>
@import "./index.less";
</style>
<script src='./classfiy.js' />

